package com.east.service;

import com.east.dto.ActivityDTO;
import com.east.entity.Activity;
import com.east.query.ActivityQuery;
import com.east.result.Result;

import java.util.List;

public interface ActivityService {

    Result list(Integer currentPage, Integer pageSize);

    Result searchActivityList(Integer currentPage, Integer pageSize, ActivityQuery activityQuery);

    Result addActivity(ActivityDTO activityDTO);

    Result activityInfo(Integer id);

    Result update(ActivityDTO activityDTO);

    Result deleteUserByIds(Integer[] ids);

    Result getOnGoingActivity();
}
